package com.sskjdata.cg.service.impl.bse;

import com.sskjdata.cg.ip.IpUtil;
import com.sskjdata.cg.jwt.JwtUser;
import com.sskjdata.cg.service.bse.BseAccessLogService;
import com.sskjdata.cg.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.servlet.http.HttpServletRequest;
import java.lang.reflect.Method;

/**
 * @Desciption 基础日志service 实现类
 * @Author Jason
 * @Date 2019/11/29
 */
@Service
public class BseAccessLogServiceImpl extends BaseServiceImpl implements BseAccessLogService {


    @Override
    @Transactional
    public void insertLog(HttpServletRequest request, Method method , JwtUser jwtUser) throws Exception {
        if(request!=null){
           // 插入到日志表中
        }
    }
}
